//
//  LimitInputTextView.h
//  CKApp
//
//  Created by CC on 2020/9/12.
//  Copyright © 2020 This Moment. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LimitInputTextView;
@protocol LimitInputTextViewDelegate <NSObject>

- (void)textDidChangeAction:(LimitInputTextView*)textView;
- (void)textDidEndEditingAction:(LimitInputTextView*)textView;
@end

@interface LimitInputTextView : UITextView
// default 1000
@property(nonatomic, assign) NSInteger maxLimitLength;

@property(nonatomic, assign) id<LimitInputTextViewDelegate> limitInputDelegate;
@end
